package webEquipeRechercheGwt.client.callback.consultation.commands;

import java.util.Collection;

import webEquipeRechercheGwt.client.entityMirror.SeminarMirror;
import webEquipeRechercheGwt.client.entityShowingPanel.linkCreationPanel.ToSeminarLinkCreationPanel;

public class CommandGetAllSeminarsImplToSeminarLinkPanel implements
		CommandGetAllSeminars {

	private ToSeminarLinkCreationPanel target;
	
	public CommandGetAllSeminarsImplToSeminarLinkPanel(ToSeminarLinkCreationPanel target) {
		this.target = target;
	}

	@Override
	public void execute(Collection<SeminarMirror> res) {
		target.setSeminars(res);
	}
	
}